<!DOCTYPE html>
<html class="index-page">
  <head>
    <title>Cockpit</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="../base1/patternfly.css" rel="stylesheet">
    <link href="index.css" rel="stylesheet">
    <link href="../../static/branding.css" rel="stylesheet">
    <script src="../base1/jquery.js"></script>
    <script src="../base1/cockpit.js"></script>
    <script src="../manifests.js"></script>
    <script src="../*/po.js"></script>
  </head>
  <body hidden>
    <nav id="topnav" class="navbar navbar-default navbar-pf" role="navigation">
      <div class="navbar-header">
        <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse-1">
          <i class="fa fa-bars" alt="Toggle navigation"></i>
        </button>
        <div class="navbar-brand">
          <div id="index-brand"></div>
        </div>
      </div>
      <div class="collapse navbar-collapse navbar-collapse-1">
        <ul class="nav navbar-nav navbar-utility">
          <li id="navbar-oops" hidden>
            <a><span class="oops-status" translatable="yes">Ooops!</span></a>
          </li>
          <li class="dropdown">
            <a id="navbar-dropdown" class="dropdown-toggle" data-toggle="dropdown">
              <span class="pficon pficon-user"></span>
              <span id="content-user-name"></span><b class="caret"></b>
            </a>
            <ul class="dropdown-menu">
              <li class="display-language-menu">
                <a data-toggle="modal" data-target="#display-language" translatable="yes">Display Language</a>
              </li>
              <li class="divider display-language-menu"></li>
              <li>
                <a data-toggle="modal" data-target="#about" translatable="yes">About Cockpit</a>
              </li>
              <li class="divider"></li>
              <li>
                <a id="go-logout" translatable="yes">Log out</a>
              </li>
            </ul>
          </li>
        </ul>
        <ul class="nav navbar-nav navbar-primary" id="content-navbar">
          <li id="machine-spinner" hidden>
            <div class="spinner spinner-md spinner-white">
            </div>
          </li>
          <li class="dropdown" id="machine-dropdown">
            <a class="machine-color"></a>
            <a id="machine-link" class="dropdown-toggle" data-toggle="dropdown"
                aria-haspopup="true" role="button" aria-expanded="false">
               <img src="../shell/images/server-small.png" id="machine-avatar" class="machine-avatar"><span translate>Machines</span>
               <b class="caret"></b>
            </a>
            <ul class="dropdown-menu" role="menu" aria-labelledby="machine-link">
            </ul>
          </li>
        </ul>
      </div>
    </nav>

    <div class="modal" id="about" tabindex="-1" role="dialog" data-backdrop="static">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <h4 class="modal-title" translatable="yes">About Cockpit</h4>
          </div>
          <div class="modal-body">
            <div translae>Cockpit is an interactive Linux server admin interface.</div>
            <div><a target="_blank" href="http://cockpit-project.org/" translate>Project website</a></div>
            <div>
              <span translatable="yes">Version</span> <span id="about-version"></span>.
            </div>
            <div><span translate>Licensed under:</span>
                <a href="https://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html"
                    target="_blank">GNU LGPL version 2.1</a>
            </div>
          </div>
          <div class="modal-footer">
            <button class="btn btn-primary" data-dismiss="modal">Close</button>
          </div>
        </div>
      </div>
    </div>

    <div class="modal" id="troubleshoot-dialog" tabindex="-1" role="dialog"
        data-backdrop="static">
        <div class="modal-dialog">
            <div class="modal-content">
            </div>
        </div>
    </div>

    <div class="modal" id="display-language" tabindex="-1" role="dialog" data-backdrop="static">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <h4 class="modal-title" translatable="yes">Display Language</h4>
          </div>
          <div class="modal-body">
	    <p translatable="yes">Choose the language to be used in the application</p>
            <select id="display-language-list" size="5" data-role="none">
            </select>
          </div>
          <div class="modal-footer">
            <button class="btn btn-default" data-dismiss="modal" translate>Cancel</button>
            <button class="btn btn-primary" id="display-language-select-button" translate>Select</button>
          </div>
        </div>
      </div>
    </div>

    <div class="modal" id="error-popup" tabindex="-1" role="dialog" data-backdrop="static">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <h4 class="modal-title" id="error-popup-title"></h4>
          </div>
          <div class="modal-body">
            <p id="error-popup-message"></p>
          </div>
          <div class="modal-footer">
            <button class="btn btn-primary" data-dismiss="modal" translate>Close</button>
          </div>
        </div>
      </div>
    </div>

    <div id="sidebar" class="sidebar-pf sidebar-pf-left" hidden>
        <ul class="list-group" id="sidebar-menu">
        </ul>
        <ul class="list-group" id="sidebar-tools">
        </ul>
    </div>

    <div class="curtains-ct blank-slate-pf" hidden>
      <div class="blank-slate-pf-icon">
        <div class="spinner spinner-lg" hidden></div>
        <i class="fa fa-exclamation-circle"></i>
      </div>
      <h1></h1>
      <p></p>
      <div class="blank-slate-pf-main-action">
        <button id="machine-reconnect" class="btn btn-primary btn-lg" translatable="yes">Reconnect</button>
        <button id="machine-troubleshoot" class="btn btn-primary btn-lg" translatable="yes">Troubleshoot</button>
      </div>
    </div>

    <div id="content">
    </div>

    <script src="index-stub.js"></script>
  </body>
</html>
